package com.freeman.cement.service;

import com.freeman.cement.entity.Dept;
import com.freeman.cement.entity.ResponseResult;
import com.freeman.cement.entity.ResultObject;
import org.apache.ibatis.annotations.Param;

public interface DeptService {

    //region 202211

    ResponseResult addDept(Dept dept);
    ResponseResult updateDept(Dept dept);
    ResponseResult deleteDept(int id);
    ResponseResult selectAllDept(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);
    ResponseResult getDept(@Param("id") int id);
    ResponseResult selectAllDutyroom(int pageNo, int pageSize);

    //endregion
}
